Teil von SELFHTML/Navigationshilfen Teil von XML Teil von Dokumenttyp-Definitionen (DTDs)

Beschreibung  Beschreibung: so wird's gemacht

Hinweise und zusätzliche Quelltexte zum Anzeigebeispiel

Das Beispiel Anzeigebeispiel funktioniert nur, wenn der Browser XML in Verbindung mit Kapitel CSS interpretiert. Denn das Beispiel benutzt in diesem Fall CSS, um die Elemente, die Zeicheninhalt haben, so zu formatieren, dass eine sinnvolle Anzeige möglich ist. Der MS Internet Explorer Version 5.x beispielsweise ist dazu in der Lage.

Die eingebundene CSS-Datei hat folgenden Quelltext:

buch
 { font-family:Arial }

haupttitel
 { display:block; color:#0000CC; font-size:36pt }

untertitel
 { display:block; color:#0000CC; font-size:18pt; margin-top:12pt; }

cip
 { display:block; color:#009900; font-size:10pt; margin-top:36pt; }
copyright
 { display:block; color:#009900; font-size:10pt; font-weight:bold; margin-top:12pt; }
verlag
 { display:block; color:#009900; font-size:10pt; margin-top:12pt; }

ivz_ueberschrift
 { display:block; color:#CC0000; font-size:18pt; font-weight:bold; margin-top:36pt; }
ivz_kapiteleintrag
 { display:block; color:#CC0000; font-size:12pt; font-weight:bold; margin-top:12pt; }
ivz_abschnittseintrag
 { display:block; color:#CC0000; font-size:10pt; }

kap_ueberschrift
 { display:block; color:#000000; font-size:18pt; font-weight:bold; margin-top:36pt; }

ab_ueberschrift
 { display:block; color:#000000; font-size:14pt; font-weight:bold; margin-top:18pt; }

fliesstext
 { display:block; color:#000000; font-size:10pt; margin-top:12pt; }

aufzaehlungspunkt
 { display:block; color:#000000; font-size:10pt; margin-top:12pt; margin-left:1cm; }

svz_ueberschrift
 { display:block; color:#CC0000; font-size:18pt; font-weight:bold; margin-top:36pt; }
svz_eintrag
 { display:block; color:#CC0000; font-size:10pt; }

hervorgehoben
 { font-weight:bold }
hinweisend
 { font-style:italic }
auffordernd
 { font-family:courier }

zeilenumbruch
 { display:block }

 

Teil von SELFHTML/Navigationshilfen Teil von XML Teil von Dokumenttyp-Definitionen (DTDs)

© 2001 E-Mail selfhtml@teamone.de